package com.itheima.test41;
//汽车类
public abstract class car {
    private String breed;
    private String value;

    public String getBreed() {
        return breed;
    }

    public void setBreed(String breed) {
        this.breed = breed;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public car() {

    }

    public car(String breed, String value) {

        this.breed = breed;
        this.value = value;
    }

    public abstract void run();
}
